var prefix = ctx + "system/post";
var colNames = ['岗位编号', '岗位编码', '岗位名称', '显示顺序', '状态'];
var colModel = [{
    name: 'postId',
    key: true,
    hidden: true
}, {
    index: 'postCode',
    name: 'postCode',
    align: 'left',
    sortable: true,
    fixed: true
}, {
    index: 'postName',
    name: 'postName',
    align: "left",
    sortable: true,
    fixed: true
}, {
    name: 'postSort',
    align: "left",
    sortable: true,
    fixed: true
}, {
    index: 'status',
    name: 'status',
    align: 'center',
    sortable: true,
    fixed: true
}];
$("#jqGridTable").jqGrid({
    url: prefix + "/list",
    colNames: colNames,
    colModel: colModel,
    multiselect: true,//复选框
    pager: "#jqGridPager",
    loadComplete: function () {
    },
    onSelectAll: function (rowids, statue) {
    },
    onSelectRow: function (rowid, status) {
    }
});